<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ include file="./nav.jsp" %>
<div class="container-fluid">
    <img src="/img/stars.jpg" alt="..." class="note-img">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <div>
                <img src="${user.headimage}" style="width:150px;height: 150px;margin-top: -45px;
                border: 1px solid #e8e8e8;border-radius: 10px;">
            </div>
            <c:forEach items="${notes.resultData}" var="tn">
                <div class="note-style">
                    <div style="float: left;margin-left: 20px">
                        <a href="${pageContext.request.contextPath}/api/note/note?noteid=${tn.noteid}"
                           style="text-decoration: none;">
                            <h2>${tn.notename}</h2>
                        </a>
                    </div>
                    <div style="float: right;margin-right: 20px;font-size: 20px">${user.nickname}</div>
                </div>
            </c:forEach>

        </div>
    </div>
</div>
</body>
</html>
